Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bitcore-lib

Package Overview
Dependencies
Maintainers
3
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitcore-lib

A pure and powerful JavaScript Bitcoin library.

  • 8.25.47
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
31K
increased by32.61%
Maintainers
3
Weekly downloads
 
Created
Source

Bitcore JavaScript Library for Bitcoin

NPM Package Build Status Coverage Status

A pure and powerful JavaScript library for Bitcoin.

Principles

Bitcoin is a powerful new peer-to-peer platform for the next generation of financial technology. The decentralized nature of the Bitcoin network allows for highly resilient bitcoin infrastructure, and the developer community needs reliable, open-source tools to implement bitcoin apps and services. Bitcore JavaScript Library provides a reliable API for JavaScript apps that need to interface with Bitcoin.

Get Started

Clone the Bitcore monorepo and npm install:

git clone https://github.com/bitpay/bitcore.git
npm install

cd into bitcore-lib repository:

cd packages/bitcore-lib

Building the Browser Bundle

To build a bitcore-lib full bundle for the browser:

gulp browser

This will generate files named bitcore-lib.js and bitcore-lib.min.js.

Running Tests

npm test

You can also run just the Node.js tests with gulp test:node, just the browser tests with gulp test:browser or create a test coverage report (you can open coverage/lcov-report/index.html to visualize it) with gulp coverage.

Documentation

Addresses and Key Management

Payment Handling

Bitcoin Internals

Extra

Module Development

Modules

Some functionality is implemented as a module that can be installed separately:

Examples

Security

We're using the Bitcore JavaScript Library in production, as are many others, but please use common sense when doing anything related to finances! We take no responsibility for your implementation decisions.

If you find a security issue, please email security@bitpay.com.

Contributing

See CONTRIBUTING.md on the main bitcore repo for information about how to contribute.

License

Code released under the MIT license.

Copyright 2013-2022 BitPay, Inc. Bitcore is a trademark maintained by BitPay, Inc.

Keywords

FAQs

Package last updated on 17 Feb 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc